<template>
	<view class="overlay">
		<uv-overlay :show="show" @click="show = false">
			<view class="warp">
				<view class="rect">
					{{tips}}
				</view>
			</view>
		</uv-overlay>
	</view>
</template>

<script>
	export default {
		props: {
			tips: String,
			default: ""
		},
		data() {
			return {
				show: false
			}
		},
		onLoad() {

		},
		methods: {
			open() {
				this.show = true;
			},
		}
	}
</script>

<style lang="scss" scoped>
	.warp {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
	}

	.rect {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 450rpx;
		height: 85rpx;
		background: #FFFFFF;
		border-radius: 10rpx;
		font-size: 25rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 400;
		color: #333333;
		line-height: 33rpx;
	}
</style>